package com.wei.shopping.service;

import com.wei.shopping.entrty.PageResult;
import com.wei.shopping.entrty.QueryPageBean;
import com.wei.shopping.pojo.Comment;
import java.util.List;

public interface CommentService {
    /**
     * 通过商品id查找所有评论
     * @param commid
     * @return
     */
    PageResult findByCommId(String commid, QueryPageBean queryPageBean);
    /**
     * 添加评论
     * @param comment
     */
    void addComment(Comment comment);
}
